#!/bin/sh

usage() {
  echo "syntax:" 
  echo "$0 <# of clients> <master/tspaces ip>"
  exit
}

if [ $# -lt 2 ]
then
  usage
fi


n_clients=$1
master_ip=$2

java -cp bin:tspaces/lib/tspaces_client.jar wordcount.Slave \
  $n_clients $master_ip

